<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>登录</title>
<jsp:include page="inc.jsp"></jsp:include>
<link href="${pageContext.request.contextPath}/web/css/style.css" rel="stylesheet" type="text/css" />
</head>
<script type="text/javascript" charset="utf-8">
	if(top.location!=self.location){
		top.location=self.location;
	}
		
	$(function() {
		$('form input').bind('keyup', function(event) {/* 增加回车提交功能 */
			if (event.keyCode == '13') {
				$("#loginInputForm").submit();
			}
		});
	});

	function login(){
		$("#loginInputForm").submit();
	}
</script>
<body class="loginbg">
<div class="login">
  <div class="content">
	  <form id="loginInputForm" method="post"
								action="${pageContext.request.contextPath}/loginAction!login.html">
		    <div class="logo"><img src="${pageContext.request.contextPath}/web/imgs/logo.gif" width="318" height="87" /></div>
		    <div class="land">
		      <ul>
		        <li>用户名：</li>
		        <li><input name="username" type="text" class="input easyui-validatebox" data-options="required:true,missingMessage:'请填写用户名'" value="admin"/></li>
		      </ul>
		      <ul>
		        <li>密&nbsp;&nbsp;码：</li>
		        <li><input name="password" type="password" class="input easyui-validatebox" data-options="required:true,missingMessage:'请填写密码'"/></li>
		      </ul>
		      <ul>
		        <li class="button"><a href="javascript:login();"><img src="${pageContext.request.contextPath}/web/imgs/denglu.jpg" width="96" height="31" /></a></li>
		      </ul>
		    </div>
	    </form>
  </div>
  <div class="copyrights">Copyright @ 2013     <a href="http://www.miitbeian.gov.cn" target="_blank" style="color:#FFFFFF; text-decoration:none;">浙ICP备13002014号-1</a><br/>杭州怀才商贸有限公司 </div>
</div>
</body>
</html>